package com.liao.common.entity.product;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 广告轮播图
 *
 * @author liao
 * @email 2858015963@qq.com
 * @date 2025-03-17 20:06:16
 */
@Data
@TableName("banner")
public class BannerEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;
    /**
     * banner链接
     */
    private String imgUrl;
    /**
     * 跳转链接
     */
    private String hrefurl;
    /**
     * 广告类型1首页展示，2分类页展示
     */
    private Integer type;

}
